package com.atguigu.cloud.feign;

import com.atguigu.cloud.dto.DocumentDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

@FeignClient("poi-service")
public interface DocumentFeign{
    @RequestMapping(method = RequestMethod.GET, value = "/feign/document/getDocumentList")
    List<DocumentDto> getDocumentList();
}

